<?php
echo "Line NO. ", __LINE__ , "\n";
echo "Line NO. ", __FILE__ , "\n";
echo "Line NO. ", __DIR__ , "\n";
echo "Function. ", sum() , "\n";
echo "Method. ", A::mul() , "\n";

function sum(){
  echo __FUNCTION__, "-->";
}

class A{
  static function mul(){
    echo __METHOD__, "-->";
  }
}
